
<!-- m_navbar-->
{{template "m_navbar.html" .}}
<!-- body start-->

<style>
    .bs-docs-footer {
        padding-top: 50px;
        padding-bottom: 50px;
        margin-top: 100px;
        color: #99979c;
        background-color: #2a2730;
        text-align: left;
    }
</style>

<!--修改文件-->
<div>
    <form action="/uupdate?active={{.active}}&&uid={{.uid}}" method="post" >
        <div class="alert alert-light" role="alert">
            <p>更新用用户信息</p>
            <div class="input-group mb-3">
                <div class="input-group-prepend">
                    <span class="input-group-text" id="basic-addon1">名称:</span>
                </div>
                <input type="text" name="uname" value={{.uname}} class="form-control" aria-describedby="basic-addon1">
            </div>
            <div class="input-group mb-3">
                <div class="input-group-prepend">
                    <span class="input-group-text" id="basic-addon1">新密码:</span>
                </div>
                <input type="password" name="passwd1" class="form-control" aria-describedby="basic-addon1">
            </div>
            <div class="input-group mb-3">
                <div class="input-group-prepend">
                    <span class="input-group-text" id="basic-addon1">确认密码:</span>
                </div>
                <input type="password" name="passwd2" class="form-control" class="form-control" aria-describedby="basic-addon1">
            </div>
            <!--   <input type="hidden" name="userid" value=.user.ID>用户的id信息-->
            <input class="btn btn-outline-primary" type="submit" value="更新信息">
            <a class="btn btn-outline-primary" href="#" onClick="javascript :history.go(-1);">取消</a>
        </div>
    </form>
</div>

<!-- body end-->

<!-- m_footer-->
{{template "m_footer.html" .}}